 function nowTime(){
    var date = new Date();
    var seperator1 = "-";
    var seperator2 = ":";
    var month = date.getMonth() + 1;
    var strDate = date.getDate();
    var mint = date.getSeconds()
    var mints =  date.getMinutes()
    if (month >= 1 && month <= 9) {
        month = "0" + month;
    }
    if (strDate >= 0 && strDate <= 9) {
        strDate = "0" + strDate;
    }
    if (mints >= 0 && mints <= 9) {
        mints = "0" + mints;
    }
    if (mint >= 0 && mint <= 9) {
       mint = "0" + mint;
    }
    var currentdate = date.getFullYear() + seperator1 + month + seperator1 + strDate
            + " " + date.getHours() + seperator2 + mints
            + seperator2 + mint;
    return currentdate;
  }
  module.exports = {nowTime}